home *** CD-ROM | disk | FTP | other *** search
/ Mac Expert 1995 Winter / Mac Expert - Winter 95.iso / Les fichiers / Communications / Divers / DinkClass ƒ / DC Template App / DHLDoc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-10-10  |  909 b   |  35 lines  |  [TEXT/KAHL]

  1. /*
  2.     This is the class declarationfor the the DDocument subclass
  3.     DHLDoc, responcible for the only the creation of the correct type of
  4.     Window.  Without this the DDocument class implementation would only
  5.     instaniate a DWindow object and I wouldn't get the Draw method I
  6.     need.
  7.     Mark Gross 10/10/92
  8. */
  9.  
  10. #ifndef __DHLDOC__
  11. #define __DHLDOC__
  12.  
  13. #include <DDocument.h>
  14.  
  15. class DHLDoc : public DDocument
  16. {
  17. public:
  18.  
  19.     DHLDoc(void);
  20.     ~DHLDoc(void);
  21.         // just stubs for now... (and perhaps always for this application.
  22.     
  23.     virtual     DDocument* Init( Boolean OpenFromFile);
  24.         // needed just in case I have to over ride the
  25.         // defult Init behavior, and its good OOP style 
  26.         // to always have an Init.  Its better than using
  27.         // constructors, just as SmallTalk OOPers.
  28.     
  29.     virtual DWindow*     MakeWindow(Boolean hasColorWindows);
  30.         // needed to creat my DHLWindow 
  31.  
  32. };// end of DHLDoc class declaration...
  33.  
  34. #endif __DHLDOC__
  35.